/**
 * Created by IntelliJ IDEA.
 * User: brian
 * Date: Jan 28, 2008
 * Time: 8:39:42 PM
 * To change this template use File | Settings | File Templates.
 */
package org.mbari.dsg.services;

//import vars.AnalysisUtil;

//import javax.jws.WebMethod;
//import javax.jws.WebService;
//import javax.xml.ws.Endpoint;

//@WebService
public class AnnotationHistogram {

  /* @WebMethod */
  public String sayHelloWorldFrom(String from) {
    String result = "Hello, world, from " + from;
    System.out.println(result);
    return result;
  }

  //@WebMethod
  public Integer[] histByCounts(String conceptName, Float[] bins) {
//      List<Float> binsList = Arrays.asList(bins);
//      Map<Float, Integer> map = (Map<Float, Integer>) AnalysisUtil.histByConcept(new ArrayList(), conceptName);
//      return (Integer[]) map.values().toArray();
      return null;
  }

  public static void main(String[] argv) {
    Object implementor = new AnnotationHistogram ();
    String address = "http://localhost:9000/AnnotationHistogram";
    //Endpoint.publish(address, implementor);
  }
    
}